package com.probox.common.entity.vo.WeCom;

import com.probox.common.core.text.Convert;
import com.probox.common.entity.utils.DictUtils;
import com.probox.common.entity.vo.proboxService.view.SubscribeCardVo;
import com.probox.common.entity.vo.proboxService.view.SubscribeItemVo;
import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

@Data
public class WeComCustomerVo implements Serializable {

    private Long customerId;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 头像
     */
    private String headImage;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 等级名称
     */
    private String levelName;
    private Integer customerGrade;
    private String customerIcon;
    private String levelColor;

    /**
     * 客户性别
     */
    private String sex;

    /**
     * 耗卡数量
     */
    private Integer itemCount;

    private Integer itemDayCount;

    public String getSexStr() {
        HashMap dictCacheMap = DictUtils.getDictCacheMap("customer_sex");
        return Convert.toStr(dictCacheMap.get(sex));
    }

    /**
     * 菠萝金币
     */
    private String pineappleGoldCoin;

    /**
     * 菠萝银币
     */
    private String pineappleSilverCoin;

    /**
     * 菠萝派
     */
    private String pineappleFlower;

    /**
     * 客户档案
     */
    private List<WeComCustomerArchivesVo> customerProfileList;

    // private List<WeComAppointmentItemVo> customerProfileList;

    /**
     * 消费明细
     */
    private List<WeComConsumptionVo> weComConsumptionVoS;
    /**
     * 用户已使用的项目
     */
    private List<SubscribeItemVo> itemData;
    /**
     * 用户已使用的套餐卡
     */
    private List<SubscribeCardVo> cardData;
    //皮肤干性/油性类型
    private String skinOilType;
    //皮肤耐受/敏感类型
    private String skinSensitiveType;
    //皮肤色素/非色素测试
    private String skinColorType;
    //皮肤紧致/皱纹测试
    private String skinCompactType;
    //不适或病史
    private String medicalHistory;
    //不良反应或过敏
    private String allergy;

    /**
     * 已经过了多少天
     */
    private Integer days;

    private String contactMan;

}
